<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/6/22
  Time: 20:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>添加最新上线电影</title>
    <link rel="stylesheet" type="text/css" href="framework/bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-xs-offset-2 col-xs-8">
            <div class="panel panel-primary text-center">
                <div class="panel-heading">
                    <h3 class="panel-title">今日上线电影添加</h3>
                </div>
                <div class="panel-body">
                    <form action="save.do" method="post" class="form-horizontal">
                        <div class="form-group">
                            <label class="col-xs-2 control-label">影片名称：</label>
                            <div class="col-xs-5">
                                <select name="filmid" id="film" class="form-control">
                                    <c:forEach items="${film}" var="f">
                                    <option value="${f.filmid}">${f.filmname}</option>
                                    </c:forEach>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">电影主演：</label></br>
                            <div class="col-xs-9">                                
                                <c:forEach items="${actor}" var="a">
                                <div class="col-xs-1">	
                                	<input type="checkbox" name="actorid" value="${a.actorid }"/>
                                </div>
                                <label class="col-xs-2">${a.actorname}</label>
                                </c:forEach>
                            </div>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-info">提交数据</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
